package com.accounting.model;

/**
 * Asset entity. @author MyEclipse Persistence Tools
 */

public class Asset implements java.io.Serializable {

	// Fields

	private AssetId id;
	private Subject subjectByTotalDepSubNo;
	private Subject subjectByFixAssSubNo;
	private String name;
	private String depMethod;
	private Integer time;
	private Double netSalvage;
	private String remark;

	// Constructors

	/** default constructor */
	public Asset() {
	}

	/** minimal constructor */
	public Asset(AssetId id, Subject subjectByTotalDepSubNo,
			Subject subjectByFixAssSubNo, String name, String depMethod,
			Integer time, Double netSalvage) {
		this.id = id;
		this.subjectByTotalDepSubNo = subjectByTotalDepSubNo;
		this.subjectByFixAssSubNo = subjectByFixAssSubNo;
		this.name = name;
		this.depMethod = depMethod;
		this.time = time;
		this.netSalvage = netSalvage;
	}

	/** full constructor */
	public Asset(AssetId id, Subject subjectByTotalDepSubNo,
			Subject subjectByFixAssSubNo, String name, String depMethod,
			Integer time, Double netSalvage, String remark) {
		this.id = id;
		this.subjectByTotalDepSubNo = subjectByTotalDepSubNo;
		this.subjectByFixAssSubNo = subjectByFixAssSubNo;
		this.name = name;
		this.depMethod = depMethod;
		this.time = time;
		this.netSalvage = netSalvage;
		this.remark = remark;
	}

	// Property accessors

	public AssetId getId() {
		return this.id;
	}

	public void setId(AssetId id) {
		this.id = id;
	}

	public Subject getSubjectByTotalDepSubNo() {
		return this.subjectByTotalDepSubNo;
	}

	public void setSubjectByTotalDepSubNo(Subject subjectByTotalDepSubNo) {
		this.subjectByTotalDepSubNo = subjectByTotalDepSubNo;
	}

	public Subject getSubjectByFixAssSubNo() {
		return this.subjectByFixAssSubNo;
	}

	public void setSubjectByFixAssSubNo(Subject subjectByFixAssSubNo) {
		this.subjectByFixAssSubNo = subjectByFixAssSubNo;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDepMethod() {
		return this.depMethod;
	}

	public void setDepMethod(String depMethod) {
		this.depMethod = depMethod;
	}

	public Integer getTime() {
		return this.time;
	}

	public void setTime(Integer time) {
		this.time = time;
	}

	public Double getNetSalvage() {
		return this.netSalvage;
	}

	public void setNetSalvage(Double netSalvage) {
		this.netSalvage = netSalvage;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}